Platform Explorer / Nuxeo Platform 2023.16

Component org.nuxeo.drive.adapters

Resolution Order

190
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.drive.adapters" version="1.0">

  <extension target="org.nuxeo.ecm.core.api.DocumentAdapterService" point="adapters">

    <adapter class="org.nuxeo.drive.adapter.FileSystemItem" factory="org.nuxeo.drive.adapter.impl.FileSystemItemAdapterFactory" />

  </extension>

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService" point="fileSystemItemFactory">

    <fileSystemItemFactory name="collectionSyncRootFolderItemFactory" order="5" facet="Collection"
      class="org.nuxeo.drive.service.impl.CollectionSyncRootFolderItemFactory" />
    <fileSystemItemFactory name="defaultSyncRootFolderItemFactory" order="10" facet="DriveSynchronized"
      class="org.nuxeo.drive.service.impl.DefaultSyncRootFolderItemFactory" />
    <fileSystemItemFactory name="defaultFileSystemItemFactory" order="50"
      class="org.nuxeo.drive.service.impl.DefaultFileSystemItemFactory" />

  </extension>

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService" point="topLevelFolderItemFactory">

    <topLevelFolderItemFactory class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory">
      <parameters>
        <parameter name="folderName">Nuxeo Drive</parameter>
      </parameters>
    </topLevelFolderItemFactory>

  </extension>

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService" point="activeFileSystemItemFactories">

    <activeTopLevelFolderItemFactory>org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory
    </activeTopLevelFolderItemFactory>

    <activeFileSystemItemFactories>
      <factories>
        <factory>collectionSyncRootFolderItemFactory</factory>
        <factory>defaultSyncRootFolderItemFactory</factory>
        <factory>defaultFileSystemItemFactory</factory>
      </factories>
    </activeFileSystemItemFactories>

  </extension>

</component>